//提交信息
function submitConfirm() {
    // 从页面上获取数据
    var data = new Array();
    $('.tbinfo').each(function () {
        var id = $(this).children().children(".goal_id").text();
        if (id.length>0) {
            var checked = $(this).children().children(".goal_check")[0].checked;
            var reason = $(this).children().children(".goal_reason")[0].value;
            data.push({
                "id": id,
                "checked": checked,
                "reason": reason
            })
        }
    });
    $.ajax({
        url:"/confirm/save_confirm",
        dataType:'json',
        contentType: "application/json; charset=utf-8",
        type:"POST",
        data:JSON.stringify(data)
        }
    )

}